/*
 * Window.h
 *
 *  Created on: 03-02-2012
 *      Author: glu
 */

#ifndef WINDOW_H_
#define WINDOW_H_

#include "precompile.h"
#include "Tile.h"
#include "GameState.h"
#include "./states/BattleState.h"

class Window {
public:
	const int SCREEN_WIDTH;
	const int SCREEN_HEIGHT;
	const int SCREEN_BPP;

	Window();
	void clean(void);
	bool init(void);
	bool run();

protected:

private:
	GameState* state;

	GameStates gameState;
	GameStates nextState;

	SDL_Event event;

	void changeState();
};

#endif /* WINDOW_H_ */
